Source file: /~heha/hsn/Starting GDIplus.zip/gdipDemo.rc

#include <windows.h>
#define IDC_STATIC -1

LANGUAGE LANG_ENGLISH,SUBLANG_ENGLISH_US

// The about dialog (gets the same ID as the system menu entry)
16 DIALOG DISCARDABLE 10,10,235,55
STYLE DS_MODALFRAME|WS_POPUP|WS_CAPTION|WS_SYSMENU
CAPTION "About gdipDemo"
FONT 8, "Helv"		// "Helv" is the shortest possible font name. Without FONT, dialog manager uses font size 10 as for Windows 3.1
{
 ICON		1,IDC_STATIC,11,17,20,20
 LTEXT		"gdipDemo: Starting with GDIPlus Version 1.2",IDC_STATIC,40,10,119,8,SS_NOPREFIX
 LTEXT		"2004-2020",IDC_STATIC,40,25,119,8
 DEFPUSHBUTTON	"OK",IDOK,178,7,50,14,WS_GROUP
}

// The main dialog (always gets the number one)
1 DIALOG 0,0,239,164
STYLE DS_CENTER|WS_OVERLAPPED|WS_CAPTION|WS_SYSMENU
CAPTION "gdipDemo"
FONT 8, "Helv"
{
 PUSHBUTTON	"",10, 2,2,172,154,BS_OWNERDRAW|WS_DISABLED	// The actual size of the canvas in pixel varies in accordance to font size
 PUSHBUTTON	"",11, 176,2,60,60,BS_OWNERDRAW|WS_DISABLED
 DEFPUSHBUTTON	"OK",IDOK,182,127,50,14
 PUSHBUTTON	"Cancel",IDCANCEL,182,143,50,14
}

STRINGTABLE
{
 16	"&About Starting GDIPlus..."
}

LANGUAGE 0,0	// Following entries are not language-specific

1	ICON	"nomfc.ico"	// the main icon
1	24	"manifest"	// let system choose new dialog items (here not yet applicable)
// 24 == RT_MANIFEST, but older resource compilers will silently replace RT_MANIFEST with 0

1 VERSIONINFO
 FILEVERSION 1,2,2020,331	// here: version (1.2) and last-modification date (2020-3-31)
 PRODUCTVERSION 1,0,2014,101	// here: startversion (1.0) and creation date (2014-1-1)
 FILEFLAGSMASK 0x3fL		// Any flag is valid
 FILEFLAGS 0x0L			// No flags
 FILEOS 0x4L			// Win32
 FILETYPE 0x1L			// Executable
 FILESUBTYPE 0x0L		// nothing
{
 BLOCK "StringFileInfo"
 {
  BLOCK "040904B0"		// means en-US + UTF-16 (code page CP1200)
  {	// All the following sub-fields are said to be required, but its content is almost free
   VALUE "FileDescription", "Starting GDIPlus Win32 Application"
   VALUE "FileVersion", "1.2 (3/20)"
   VALUE "InternalName", "gdipDemo"
   VALUE "OriginalFilename", "gdipDemo.exe"
   VALUE "ProductName", "http://www.tu-chemnitz.de/~heha/hs"	// here: download location
   VALUE "ProductVersion", "henrik.haftmann@gmail.com"		// here: email address
  }
 }
 BLOCK "VarFileInfo"
 {
  VALUE "Translation",0x409,1200	// again en-US + UTF-16
 }
}
Detected encoding: ASCII (7 bit)2